2206353c5031189a5c211a1f681b626f4d8739e8,platform/lang-impl/src/com/intellij/profile/codeInspection/ui/SingleInspectionProfilePanel.java,SingleInspectionProfilePanel,updateSelection,#,187
Before Change
final TreePath selectionPath = myTreeTable.getTree().getSelectionPath();
if (selectionPath != null) {
TreeUtil.selectNode(myTreeTable.getTree(), (TreeNode)selectionPath.getLastPathComponent());
TreeUtil.showRowCentered(myTreeTable.getTree(), myTreeTable.getTree().getRowForPath(selectionPath), false);
}
}
}
After Change
final TreePath selectionPath = myTreeTable.getTree().getSelectionPath();
if (selectionPath != null) {
TreeUtil.selectNode(myTreeTable.getTree(), (TreeNode) selectionPath.getLastPathComponent());
final int rowForPath = myTreeTable.getTree().getRowForPath(selectionPath);
TableUtil.selectRows(myTreeTable, new int[]{rowForPath});
scrollToCenter();
}
}